//
//  MyTableViewCell.m
//  tableview
//
//  Created by 超优易购 on 16/1/18.
//  Copyright © 2016年 超优易购. All rights reserved.
//

#import "MyTableViewCell.h"

@interface MyTableViewCell()<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>

@end


@implementation MyTableViewCell

- (void)awakeFromNib {
 
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
   self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"cell"];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 20, 20, 20)];
    
    label.backgroundColor = [UIColor blackColor];
    
    [self addSubview:label];

    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
